// A param screen — the target of the `/orders/:id` deep link (see // ../../lib/deeplinks.ts). Tapping a note, a universal link, or a push whose // payload carried `data.deepLink: '/orders/'` all land here through the one // typed link table. import { useLocalSearchParams } from 'expo-router' import { Text, View } from 'react-native' export default function OrderDetail() { const { id } = useLocalSearchParams<{ id: string }>() return ( Order {id} Reached via the typed deep-link table. Fetch this order with {' '}useSubscription('orders.get', {'{'} id {'}'}) from ../../lib/api. ) }